<template>
  <div id="index">
	<!-- 展示页面头部的地方 -->
    <Header/>
  <div class="home">
    <div class="home-left">
      <img
        class="pic"
        src="../../static/images/home.png"
      />
	  <!-- 展示list列表的地方 -->
      <List></List>
    </div>
    <div class="home-right">
		<!-- 展示Recommend的地方 -->
      <Recommend/>
    </div>
  </div>
  </div>
</template>

<script>
  import Header from "./Header";
  import Recommend from "./Recommend";
  import List from "./List";
export default {
  name: "home",
  data() {
    return {

    };
  },
  components:{
    Header,Recommend,List
  }

};
</script>

<style scoped>
.home {
  width: 960px;
  margin: 0 auto;
  overflow: hidden;
}
.home-left {
  float: left;
  width: 625px;
  margin-left: 15px;
  padding-top: 20px;
}
.pic {
  width: 625px;
  height: 270px;
  border-radius: 8px;
}
.home-right {
  float: right;
  width: 280px;
  margin-top: 20px;
}
</style>

